<template>
	<view class="content">
		<view class="topImg"><image src="../../static/image/user-center-child.png"></image></view>
		<uni-condition></uni-condition>
	</view>
</template>

<script>
	import uniCondition from '@/components/condition.vue';
	export default{
		components: {
			uniCondition
		},
		data() {
			return {
				student_id: ''
			}
		},
		onNavigationBarButtonTap() {
			uni.navigateTo({
				url: 'everyStudy?student_id='+this.student_id
			})
		},
		onLoad() {
			var currentChild = uni.getStorageSync('currentChild');
			this.student_id = currentChild.student_id;
			this.grade = currentChild.grade;
		},
		methods: {
			/* 暂未开通 */
			no() {
				uni.showToast({
					title: '该功能暂未开通',
					icon: 'none'
				})
			}
		}
	}
</script>

<style>
	.topImg image{
		width: 100%;
		height: 246upx;
	}
</style>
